<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="./echarts.js"></script>
</head>

<body>
    <div style="width: 100%;height:800px" id="main"></div>
</body>

</html>
<script>
    let main = document.querySelector('#main')
    let obj = echarts.init(main)
    let option = {
        series: [
            {
                // 仪表盘
                type: 'gauge',
                data: [
                    {
                        value: 45,
                        name: '提示信息'
                    }
                ],
                // 仪表盘详情
                datail: {
                    calueAnimation: true,

                },
                // 展示当前进度
                progress:{ 
                    show:true
                }
            }
        ]
    }
    obj.setOption(option)
</script>